package sunstar.com.xq

import android.app.Application
import android.content.Context
import cn.bmob.v3.Bmob
import sunstar.com.xq.databean.PublicStaticBean

/**
 * Created by Sun.Star on 2017/6/6.
 */
class BaseApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        PublicStaticBean.sharePreference = getSharedPreferences("MoZhuang",Context.MODE_PRIVATE)
        Bmob.initialize(applicationContext,PublicStaticBean.bmobApplicationId)
    }
}